import { createRouter, createWebHistory} from 'vue-router'

const routes = [
    {
        path: "/",
        component:()=> import('../views/home.vue')
    },
    // {
    //     path: "/a",
    //     component:()=> import('../components/wodeyinyue.vue')
    // },
    {
        path: "/item",
        component:()=> import('../views/item.vue')
    },
    {
        path: "/c",
        component:()=> import('../components/login.vue')
    },
    {
        path: "/search",
        component:()=> import('../views/search.vue')
    },
]

const router = createRouter({
    history: createWebHistory(),
    routes
})
export default router